
<html>
<head>
<title>Change Password</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<link href="../css/admincss.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
@import url(../css/admincss.css);
@import url(../css/style1.css);
-->
</style>

<!-- ======== Check Form ========  -->
<script language="JavaScript">
function check_valid(frm)
{
if (frm.pass_old.value == "")
	{alert("Vui long nhap mat khau cu !");frm.pass_old.focus();return false;}
if (frm.pass1.value == "")
	{alert("Vui long nhap mat khau moi! ");frm.pass1.focus();return false;}
if (frm.pass1.value.length < 6)
	{alert("Vui long nhap mat khau co 6 ky tu tro len");frm.pass1.focus();return false;}	
	
if (frm.pass2.value == "")
	{alert("Vui long nhap lai mat khau moi! ");frm.pass2.focus();return false;}
if (frm.pass2.value.length < 6)
	{alert("Vui long nhap mat khau co 6 ky tu tro len");frm.pass2.focus();return false;}	

if (frm.pass1.value != frm.pass2.value)	
	{alert("Ban phai nhap 2 mat khau moi giong nhau, vui long nhap lai");frm.pass2.focus();return false;}
		
return true;
}

</script>

<!-- =============== End Check Form =============== -->

</head>

<body>
<table width="100%" border="1">
    <td width="100%" height="100" class="top">CHANGE PASSWORD</td>
  </table>
  <!--row_on-->
  <!--row_off-->
<form name="myForm" method="POST" action="@toFile@"  >
<table width="500" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#3366CC">
  <tr>
    <td><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
        <tr>
          <td align="center"><br>
              <span class="intro"> @lbMessage@</span><br>
              <table width="90%" border="0" cellspacing="0" cellpadding="3">
              <tr class="tabl">
                <td width="45%">M&#7853;t kh&#7849;u c&#361;</td>
                <td width="70%">
                    <input name="pass_old" type="password" id="pass_old" size="30">
                  </td>
              </tr>
              <tr class="tabl">
                  <td>M&#7853;t kh&#7849;u m&#7899;i</td>
                <td><input name="pass1" type="password" id="pass1" size="30"></td>
              </tr>
              <tr class="tabl">
                  <td>Nh&#7853;p l&#7841;i m&#7853;t kh&#7849;u m&#7899;i</td>
                <td><input name="pass2" type="password" id="pass2" size="30"></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><input name="changepassword" type="submit" id="changepassword" value="Change" language="javascript"  onclick="document.myForm.FormAction.value = 'ChangePassword';return check_valid(myForm);">
                    <input name="reset" type="reset" id="reset" value="Reset"> </td>
              </tr>
            </table>
              <br>
            </td>
        </tr>
      </table></td>
  </tr>
</table>
<input type="hidden" value="update" name="FormAction"/>
</form>
<p>&nbsp;</p>
</body>
</html>
